<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class OrderModel extends Model
{
    //订单表 报名表
    protected $table='order';

    /**
     * 获取订单详情
     */
    public function order_info()
   {
          return $this->hasMany(OrderInfoModel::class,'order_id', 'id');
   }

}
